<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>bind方法绑定事件</title>
<script type="text/javascript" src="jquery-2.1.1.min.js"></script>
<style type="text/css">
	.btn{border:#666 1px solid;padding:2px;width:50px;
		filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#ECE9D8);}
</style>
<script type="text/javascript">
	$(function(){
		$("#btnBind").bind("click",function(){
			$(this).attr("disabled","disabled");
		})
	})
	
</script>
</head>
<body>
<input id="btnBind" type="button" value="Button" class="btn"/>
</body>
</html>